package com.tjs.lucky.infrastructure.mapper;

import com.tjs.lucky.infrastructure.po.Award;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: 田佳澍
 * @Description:
 * @DateTime: 2023/5/16 11:17
 **/
@Mapper
public interface IAwardMapper {

    /**
     * 查询奖品信息
     *
     * @param awardId 奖品ID
     * @return 奖品信息
     */
    Award queryAwardInfoById(String awardId);

    /**
     * 插入奖品配置
     *
     * @param list 奖品配置
     */
    void insertList(List<Award> list);

}
